getSuggestions

open override fun getSuggestions(input: String, cursor: Int, choiceValidator: ChoiceValidator<Identifier>): CompletableFuture<Suggestions>

Returns Suggestions based on the allowable identifier list and a choice validator

Return

CompletableFuture of Suggestions to derive a list of suggestion names from

Author

fzzyhmstrs

Since

0.2.0

Parameters

input

String - the current string input to filter suggestions off of

cursor

Int - the index of the typing cursor in the string

choiceValidator

ChoiceValidator - additional option filtering provided externally.